local zong__fanchong = fk.CreateSkill{
  name = "zong__fanchong",
}

Fk:loadTranslationTable{
  ["zong__fanchong"] = "反冲", 
  [":zong__fanchong"] = "出牌阶段限一次，你可以将至多三张牌交给一名其他角色，然后摸等量的牌并失去1点体力。", 
  ["#zong__fanchong"] = "反冲：将至多三张牌交给一名其他角色，然后摸等量的牌并失去1点体力", 
}
  zong__fanchong:addEffect("active", {
  phase = "play",  -- 发动阶段：出牌阶段（明确绑定，避免其他阶段触发）
  max_phase_use_time = 1,  -- 出牌阶段限一次（符合技能描述）
  prompt = "#zong__fanchong",
  min_card_num = 1,
  max_card_num = 3,
  target_num = 1,

  card_filter = function(self, player, to_select, selected)
    return #selected < 3
  end,
  
  target_filter = function(self, player, to_select, selected)
    return #selected == 0 and to_select ~= player
  end,
  
  on_use = function(self, room, effect)
    local target = effect.tos[1]
    local player = effect.from
    
    room:moveCardTo(
      effect.cards,
      Player.Hand,
      target,
      fk.ReasonGive,
      zong__fanchong.name,
      nil,
      false,
      player
    )
    room:drawCards(player, #effect.cards, zong__fanchong.name)
    room:loseHp(player, 1, zong__fanchong.name)
    end,
})

return zong__fanchong